home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / lds / externals.h < prev    next >
C/C++ Source or Header  |  1995-05-03  |  5KB  |  91 lines

  1. /*************************************************************************
  2.  *                                                                       *
  3.  *  Copyright (c) 1992, 1993 Ronald Joe Record                           *
  4.  *                                                                       *
  5.  *  All rights reserved. No part of this program or publication may be   *
  6.  *  reproduced, transmitted, transcribed, stored in a retrieval system,  *
  7.  *  or translated into any language or computer language, in any form or *
  8.  *  by any means, electronic, mechanical, magnetic, optical, chemical,   *
  9.  *  biological, or otherwise, without the prior written permission of:   *
  10.  *                                                                       *
  11.  *      Ronald Joe Record (408) 458-3718                                 *
  12.  *      212 Owen St., Santa Cruz, California 95062 USA                   *
  13.  *                                                                       *
  14.  *************************************************************************/
  15.  
  16. extern int xmax, ymax;
  17. extern int screen, fd;
  18. extern int histcol;
  19. extern int freq;
  20. extern int parity;
  21. extern int width, wide;
  22. extern int height, high;
  23. extern int quilt;
  24. extern int begin;
  25. extern int col;
  26. extern int draw;
  27. extern int minhist, maxhist;
  28. extern int logistic;            /* use logistic map */
  29. extern int tent;                /* use tent map */
  30. extern int circle;            /* use circle map if set */
  31. extern int Cflag;            /* Show connection strengths */
  32. extern int Eflag;            /* Evolve connection strengths */
  33. extern int sflag;            /* spatial histogram off */
  34. extern int hflag;            /* site histogram off */
  35. extern int oflag;            /* output file off */
  36. extern int vflag;        /* don't display text windows describing dynamics */
  37. extern int ranlam;            /* random lambda values off */
  38. extern int linlam;            /* linearly assigned lambda values off */
  39. extern int perlam;            /* periodically assigned lambda values off */
  40. extern int rancon;            /* random connection values off */
  41. extern int lincon;            /* linearly assigned connection values off */
  42. extern int percon;        /* periodically assigned connection values off */
  43. extern int eflag;            /* erase flag */
  44. extern int Pflag;            /* draw points flag */
  45. extern int mflag;         /* monochrome display (site value > 1/2 -> color) */
  46. extern int pflag;            /* generate phase 1st differences */
  47. extern int two_dim;        /* two dimensional lattice ? */
  48. extern int iflag;            /* initial conditions specified */
  49. extern int cflag;            /* draw curves */
  50. extern int xflag;            /* coupled map lattice mode */
  51. extern int xavg;            /* number of generations over which to average */
  52. extern int lamvalset;        /* non-linearity parameter specified */
  53. extern double RANGE;    /* range outside of which differences get graphed*/
  54. extern double erate;        /* rate at which connections evolve */
  55. extern double ORANGE;        /* 1-RANGE */
  56. extern double lamval;        /* default lambda value */
  57. extern double EC;            /* default center cell weight */
  58. extern double ER;            /* default right cell weight */
  59. extern double EL;            /* default left cell weight */
  60. extern double EU;            /* default upper cell weight */
  61. extern double ED;            /* default lower cell weight */
  62. extern double omega;        /* frequency in circle map or height in tent map */
  63. extern double incline, decline;    /* slope up and down (if tent) */
  64. extern char *valinit, *laminit;    /* initial values of array and lambdas */
  65. extern double **ctrconn;    /* initial values of center connection strength */
  66. extern double **rgtconn;    /* initial values of right connection strength */
  67. extern double **lftconn;    /* initial values of left connection strength */
  68. extern double **uprconn;    /* initial values of upper connection strength */
  69. extern double **lwrconn;    /* initial values of lower connection strength */
  70. extern int periodic;        /* periodic boundary conditions */
  71. extern int boundflag;        /* alternate boundary conditions specified */
  72. extern int A;                /* frequency of sin wave of initial lambdas */
  73. extern int G;                /* frequency of sin wave of initial connections */
  74. extern double **currentgen, **nextgen;    /* the current and next generation */
  75. extern double **avg;            /* array of averages to be used as parameters */
  76. extern double **lambda;        /* array of non-linearity parameters */
  77. extern double *diff;        /* array of 1st differences */
  78. extern double boundary;        /* default fixed boundary condition */
  79. extern int *histogram;        /* array of site histogram values */
  80. extern int **histarray;        /* array of spatial histogram values */
  81. extern char *outname;
  82. extern unsigned long foreground, background, numgen;
  83. extern int    mincolor, numcolors, displayplanes;
  84. extern int    numwheels;
  85. extern int     rgb_max, stripe_interval;
  86. extern int    savefile;
  87. extern int    run, xpoint, ypoint;
  88. extern double drand48(), sin(), fabs(), floor(), fmod();
  89. extern void srand48();
  90. extern points_t Points;
  91.